package ar.fi.uba.celdas.ambiente.gui;

import java.awt.Point;

public class FloatPoint {
	public double x;
	public double y;
	
	public FloatPoint() {
		this(0,0);
	}
	
	public FloatPoint(double x, double y) {
		this.x = x;
		this.y = y;
	}
	
	public FloatPoint(FloatPoint p) {
		this(p.x, p.y);
	}

	public void setLocation(FloatPoint p) {
		this.x = p.x;
		this.y = p.y;
	}
	
	public void setLocation(Point p) {
		this.x = p.x;
		this.y = p.y;
	}
}
